@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/customer/customer_edit.js"]}){
<form id="customerForm" lay-filter="customerForm" class="layui-form model-form">
    <input name="id" value="${customer.id}" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">客户名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="name" value="${customer.name}" placeholder="请输入客户名称" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="mobile" value="${customer.mobile}" placeholder="请输入手机号" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">详细地址<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <textarea name="address" placeholder="请输入详细地址" class="layui-textarea">${customer.address}</textarea>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
